package xt.toolkit.rpc.test;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.google.common.collect.Lists;

public class Client {

	public static void main(String[] args) throws Exception {
		ClassPathXmlApplicationContext cac = new ClassPathXmlApplicationContext("classpath:testClient.xml");
		TestService service = cac.getBean(TestService.class);
//		System.out.println(service.sayHello1("hello"));
//		System.out.println(service.sayHello2("hello1", "hello2"));
		System.out.println("-----------" + service.sayHello3(Lists.newArrayList("hello", "hello1")));
	}

}
